package com.zsrd.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsrd.system.domain.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xxx
 * @since 2023-11-23
 */
@Mapper
public interface SysDeptMapper extends BaseMapper<SysDept> {

    /**
     * 根据名字查寻(树)
     * @param sysDept
     * @return
     */
    List<SysDept> listByNameOrStatus(@Param("sysDept") SysDept sysDept);



}
